<html>
	<title></title>
	<body>
		<div id="app">
			<div>
			<input type='text' v-model= 'message'/>
			<h2 v-text='message' ></h2>
			<button @click='changeMessage'> changeMessage</button>
			</div>
		</div>
		<script  src='./js/vue.js'></script>
		<script>
			var app = new Vue({
				el:'#app',
				data:{
					message:"输入验证获取表单元素的值",
				},
				methods:{
					changeMessage:function(){
						this.message='点击设置表单元素的值';
					},
				}
			}) 
		</script>
	
	</body>
</html>